<template>
  <div class="c-page">
    <template v-if="loadStatus==='wait'">
      <slot name="wait"></slot>
    </template>
    <template v-if="loadStatus==='error'">
      <slot name="error"></slot>
    </template>
    <template v-if="loadStatus==='success'">
      <slot name="error"></slot>
    </template>
  </div>
</template>
<script>
  export default {
    name: 'PageLayout',
    data() {
      return {
        loadStatus: 'wait'
      }
    }
  }
</script>
